package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.po.CusUpkeepPlan;
import com.xinsoft.entity.po.CusUpkeepPlanEntry;
import com.xinsoft.entity.po.CusUpkeepPlanSpare;
import com.xinsoft.entity.vo.CusDevicePlanVo;

import java.util.List;

/**
* @author lijie
* @description 针对表【cus_upkeep_plan(保养计划)】的数据库操作Mapper
* @createDate 2023-06-14 09:52:17
* @Entity com.xinsoft.entity.po.CusUpkeepPlan
*/
public interface CusUpkeepPlanMapper extends BaseMapper<CusUpkeepPlan> {

    List<CusUpkeepPlanSpare> getMaterialInfoById(Integer id);

    List<CusUpkeepPlanEntry> getEntityInfoByDeviceId(Integer deviceId, Integer planId);

    List<CusDevicePlanVo> getDeviceListByPlanId(Integer planId);
}




